package lzy.impl.smallspring.context;

import lombok.NoArgsConstructor;
import lzy.impl.smallspring.beans.BeansException;
import lzy.impl.smallspring.context.support.AbstractXmlApplicationContext;

import java.util.Map;
@NoArgsConstructor
public class ClassPathXmlApplicationContext extends AbstractXmlApplicationContext {

    private String[] configLocations;

    public ClassPathXmlApplicationContext(String... configLocations) {
        this.configLocations = configLocations;
        // 实例化时，就需要refresh一次
        refresh();
    }


}
